package cz.data.platform.web.utils;

import cz.data.common.support.security.DiscoveryServiceHeaderFactory;

import java.util.HashMap;
import java.util.Map;

public class NacosDiscoveryServiceHeaderFactory implements DiscoveryServiceHeaderFactory {
    private final Map<String, String> headers = new HashMap<>(5);

    @Override
    public Map<String, String> headers() {
        return headers;
    }

    @Override
    public void addHeader(String key, String value) {
        headers.put(key, value);
    }
}
